<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<title>User Login</title>
</head>
<body>
<?php echo validation_errors(); ?>
<?php echo form_open('login'); ?>
    用户名：<?php echo form_input('uname'); ?> <?php echo $nameerr;?><br>
    密码：<?php echo form_password('upass'); ?> <?php echo $passerr;?><br>
    <?php echo form_submit('submit', '登陆'); ?>
<?php echo form_close(); ?>
</body>
</html>
